﻿using System;
using System.Windows.Controls;
using TheOliver.DigitalSignage.Client.Interfaces;

namespace TheOliver.DigitalSignage.Client.Screens
{
    public partial class DefaultCurrentSession : UserControl, ICurrentSession
    {
        public DefaultCurrentSession()
        {
            InitializeComponent();
        }

        #region ISlide Members

        public event EventHandler Finished;
        private void OnFinished()
        {
            if (Finished != null)
            {
                Finished(this, EventArgs.Empty);
            }
        }

        public int DisplayDuration
        {
            get { return Configuration.DefaultDisplayDuration;  }
        }

        public bool HasContent
        {
            get { return true; }
        }

        #endregion
    }
}
